package org.aileen.springioc.demo.IOC.v2_IOCversion;

public class Main {
    public static void main(String[] args) {
        //下面的都可以通过Spring容器IOC帮我们创建对象
        Tire tire = new Tire(17);
        Bottom bottom = new Bottom(tire);
        Framework framework = new Framework(bottom);
        Car car = new Car(framework);
        car.run();
        //---------------------------------
    }
}
